/*
 * SerialConnector.h
 *
 *  Created on: Aug 18, 2012
 *      Author: nam20485
 */

#ifndef SERIALCONNECTOR_H_
#define SERIALCONNECTOR_H_

#include "IConnector.h"
#include "Message.h"

class SerialConnector: public IConnector
{
public:
	SerialConnector();
	virtual ~SerialConnector();

	virtual bool Connect(/*ConnectorReceiveHandler m_pfnReceiveHandler*/);
	virtual bool Disconnect();

protected:

	virtual size_t ReadBytes(BYTE* pBuff, size_t count);
	virtual size_t WriteBytes(const BYTE* pBytes, size_t count);
};

#endif /* SERIALCONNECTOR_H_ */
